class SearchModelItem {
  String? code;
  String? word;
  String? type;
  String? price;
  String? zonename;
  String? star;
  String? districtname;
  String? url;

  SearchModelItem({this.code,this.word,this.type,this.price,this.zonename,this.star,this.districtname,this.url});
  factory SearchModelItem.fromJson(Map<String,dynamic> map){
    return SearchModelItem(
      code: map['code'],
      word: map['word'],
      type: map['type'],
      price: map['price'],
      zonename: map['zonename'],
      star: map['star'],
      districtname: map['districtname'],
      url: map['url'],
    );
  }

  Map<String,dynamic> toJson(){
    Map<String,dynamic> ret = {};
    ret['code'] = code;
    ret['word'] = word;
    ret['type'] = type;
    ret['price'] = price;
    ret['zonename'] = zonename;
    ret['star'] = star;
    ret['districtname'] = districtname;
    ret['url'] = url;
    return ret;
  }

  @override
  String toString() {
    return 'code:$code,word:$word,type:$type,price:$price,zonename:$zonename,star:$star,districtname:$districtname,url:$url';
  }
}